
function create_table(DBQuery, Table)

		query = DBQuery
		result = sql.Query(query)
		
		if(tables_exist(Table) == true) then
		print(Table .. "succesfully created!")
		else
		Print("Failed to create " .. Table .. "! \n")
		Print(sql.LastError(result))
	end
end


function tables_exist(Table)
	if sql.TableExists(Table) then //The table exists
		return true
		else
		return false
		
	end
end








